mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
presence: Eliminate unused mobile-related code.
We had a plan at some point to use this to display a phone icon or something for users who would receive push notifications if you messaged them. IT's not clear that feature was a good idea in any case, but it certainly shouldn't be synced as presence data; it would change >100x less often than the rest of presence and so should likely be synced differently, maybe as a property on user. So it's best to delete this prototype.
This commit is contained in:
@@ -806,7 +806,7 @@ run_test('update_presence_info', () => {
|
||||
activity.update_presence_info(alice.user_id, info, server_time);
|
||||
assert(inserted);
|
||||
|
||||
const expected = { status: 'active', mobile: false, last_active: 500 };
|
||||
const expected = { status: 'active', last_active: 500 };
|
||||
assert.deepEqual(presence.presence_info[alice.user_id], expected);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user