Bug #6950
closedMissing connection notification handling
Description
There's no notification stream handling for connection activity. This means sending a notification for pending connection request, etc.. would have to use a database stored title/message.
Updated by krileon almost 7 years ago
This should handle the following usages.
profile.USER_ID.connection.CONNECTION_ID = OWNER is connected to USER_ID (CONNECTION_ID optional)
profile.USER_ID.connection.CONNECTION_ID.pending = OWNER sent pending connection request to USER_ID
profile.USER_ID.connection.CONNECTION_ID.accepted = OWNER accepted connection request from USER_ID
profile.USER_ID.connection.CONNECTION_ID.rejected = OWNER rejected connection request from USER_ID
Updated by krileon almost 7 years ago
For notifications when it's a pending request output xsmall buttons to accept or reject the request directly from notifications.
Updated by krileon almost 7 years ago
The connection_id isn't needed so use the below to handle state.
profile.USER_ID.connection
profile.USER_ID.connection.pending
profile.USER_ID.connection.accepted
profile.USER_ID.connection.rejected
Updated by krileon almost 7 years ago
- % Done changed from 0 to 70
Handling for the above assets is working. This includes buttons to Accept, Reject, and Cancel requests.
Still needs dynamic notification connection state handling. What that means is if profile.USER_ID.connection notification is logged it should check the current connection state and adjust the notification accordingly.
Updated by krileon almost 7 years ago
- Status changed from Assigned to Resolved
- % Done changed from 70 to 100
Opted to skip implementation of dynamic state checking as it's just too heavy and unnecessary.