From: Florian Zeitz Date: Sat, 12 Jan 2013 22:49:44 +0000 (+0100) Subject: Adjust to ObjXMPP changes. X-Git-Url: https://git.babelmonkeys.de/?a=commitdiff_plain;h=8571a0b0bc73062951d6ba55cc17e0ae2fc87cfc;p=jubjub.git Adjust to ObjXMPP changes. --- diff --git a/src/core/JubChatClient.m b/src/core/JubChatClient.m index d539d90..4efa894 100644 --- a/src/core/JubChatClient.m +++ b/src/core/JubChatClient.m @@ -65,7 +65,7 @@ - (void)rosterWasReceived: (XMPPRoster*)roster { XMPPPresence *pres = [XMPPPresence presence]; - [pres addStatus: @"Hello from JubJub"]; + [pres setStatus: @"Hello from JubJub"]; [connection sendStanza: pres]; } @end diff --git a/src/gui/gtk/JubGtkRosterUI.m b/src/gui/gtk/JubGtkRosterUI.m index ae0d54d..ad54fd6 100644 --- a/src/gui/gtk/JubGtkRosterUI.m +++ b/src/gui/gtk/JubGtkRosterUI.m @@ -45,7 +45,7 @@ static void presence_changed(GtkComboBox *combo_box, gpointer data) else { pres = [XMPPPresence presence]; if (strcmp(status, "available")) - [pres addShow: @(status)]; + [pres setShow: @(status)]; } [connection sendStanza: pres];