Commit b6af624b authored by Alexandru Ghica's avatar Alexandru Ghica

Code clean up

Cleaned up unnecessary spaces, replaced tabs with spaces and fixed line
terminators.
parent ffbacad9
...@@ -1678,14 +1678,14 @@ ...@@ -1678,14 +1678,14 @@
store.set(xmppchat.connection.bare_jid+'-xmpp-status', value); store.set(xmppchat.connection.bare_jid+'-xmpp-status', value);
}, },
getStatusMessage: function () {
return store.get(xmppchat.connection.bare_jid+'-xmpp-custom-status');
},
setStatusMessage: function (status_message) { setStatusMessage: function (status_message) {
xmppchat.connection.send($pres({'type':this.getStatus()}).c('status').t(status_message)); xmppchat.connection.send($pres({'type':this.getStatus()}).c('status').t(status_message));
this.set({'status_message': status_message}); this.set({'status_message': status_message});
store.set(xmppchat.connection.bare_jid+'-xmpp-custom-status', status_message); store.set(xmppchat.connection.bare_jid+'-xmpp-custom-status', status_message);
},
getStatusMessage: function () {
return store.get(xmppchat.connection.bare_jid+'-xmpp-custom-status');
} }
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment