~singpolyma/cheogram-android

fabdfd49ef717fccee2d8933566e9e5360e1405a — Stephen Paul Weber 1 year, 5 months ago 96c031a
Make sure to broadcast nick on nick change

Some servers ignore extra payloads on the change presence itself, so once that's
done then send the extra payloads in a new presence.
1 files changed, 3 insertions(+), 0 deletions(-)

M src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
M src/main/java/eu/siacs/conversations/services/XmppConnectionService.java => src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +3 -0
@@ 3327,6 3327,9 @@ public class XmppConnectionService extends Service {

                @Override
                public void onSuccess() {
                    final PresencePacket packet = mPresenceGenerator.selfPresence(account, Presence.Status.ONLINE, options.nonanonymous(), nick);
                    packet.setTo(joinJid);
                    sendPresencePacket(account, packet);
                    callback.success(conversation);
                }