Browse Source

Also send out presence stanza when setting it via API

JC Brand 9 năm trước cách đây
mục cha
commit
37001a9bc6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/converse-api.js

+ 1 - 0
src/converse-api.js

@@ -44,6 +44,7 @@
                     if (typeof message === "string") {
                         data.status_message = message;
                     }
+                    converse.xmppstatus.sendPresence(value);
                     converse.xmppstatus.save(data);
                 },
                 'message': {