]> git.babelmonkeys.de Git - jubjub.git/commitdiff
Adjust to ObjXMPP changes.
authorFlorian Zeitz <florob@babelmonkeys.de>
Sat, 12 Jan 2013 22:49:44 +0000 (23:49 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Sat, 12 Jan 2013 22:49:44 +0000 (23:49 +0100)
src/core/JubChatClient.m
src/gui/gtk/JubGtkRosterUI.m

index d539d9025c615152e38e1cc832cfe6a3e4f7623d..4efa89464e2935ea8e3527526e1a99b97fd8b6fd 100644 (file)
@@ -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
index ae0d54d778d78ab296d876413f93fe7e5d0f19be..ad54fd6462ec820c136309dac1f1327f0e17b471 100644 (file)
@@ -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];