Small fixes
This commit is contained in:
parent
03878eee49
commit
7d8b08deca
|
@ -17,6 +17,7 @@
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkGrid">
|
<object class="GtkGrid">
|
||||||
|
<property name="valign">center</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="name_label">
|
<object class="GtkLabel" id="name_label">
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class ConversationViewController : Object {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
stream_interactor.get_module(RosterManager.IDENTITY).updated_roster_item.connect((account, jid, roster_item) => {
|
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();
|
update_conversation_display_name();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue