Small fixes

This commit is contained in:
fiaxh 2022-10-09 11:39:17 +02:00
parent 03878eee49
commit 7d8b08deca
2 changed files with 2 additions and 1 deletions

View file

@ -17,6 +17,7 @@
</child>
<child>
<object class="GtkGrid">
<property name="valign">center</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="name_label">

View file

@ -82,7 +82,7 @@ public class ConversationViewController : Object {
}
});
stream_interactor.get_module(RosterManager.IDENTITY).updated_roster_item.connect((account, jid, roster_item) => {
if (conversation.account.equals(account) && conversation.counterpart.equals(jid)) {
if (conversation != null && conversation.account.equals(account) && conversation.counterpart.equals(jid)) {
update_conversation_display_name();
}
});