主权项 |
1. A method comprising:
receiving, at a server, an IMP request from a browser associated with a device of a user, the HTTP request being associated with a navigation within a hosted network; in response to the HTTP request, rendering and returning to the device of the user an HTML page with code, the code causing publication of a presence message, by the browser, to indicate a presence state change; receiving, at the server, the presence message from the browser, the user being associated with a plurality of channels, the plurality of channels being communication channels including both a user presence channel indicating a presence of the user on a networked system and one or more activity channels each corresponding to an activity comprising a group of members in which the user is simultaneously a member and can perform work within, the user presence channel being distinct from the one or more activity channels; identifying, by the server, a presence state change indicated in the presence message; determining, by the server, an activity channel of the plurality of channels associated with the user affected by the presence state change; determining, by the server, a subscriber that subscribed to one or more of the plurality of channels associated with the user, the subscriber having explicitly subscribed to the one or more of the plurality of channels and being distinct from a member of the activity; determining, by the server, whether the subscriber subscribed to the activity channel affected by the presence state change; and electronically transmitting, using one or more processors of the server, presence information indicating the presence state change to a device of the subscriber for display on the device of the subscriber, a type of the presence information electronically transmitted to the device of the subscriber being based on the determining whether the subscriber subscribed to the activity channel, the presence information causing the device of the subscriber to display either:
an online indication based on the subscriber not having explicitly subscribed to the activity channel affected by the presence state change, oran active indication based on the subscriber having explicitly to the activity channel affected by the presence state change. |