-
-
Notifications
You must be signed in to change notification settings - Fork 828
MemberPresenceAvatar: fix null references #1620
Conversation
avoid assuming that `member` has a `user`
Although this fixes the error, I'm not convinced it fixes the issue. The |
Signed-off-by: Travis Ralston <travpc@gmail.com>
@richvdh I've pulled in your changes to see what happens, and it appears as though it effectively disables the icon but leaves the context menu accessible. #1623 should make sure that the handler is also ignored. Feel free to reauthor or redirect the PR: I've targeted against this PR's branch. The combination of these PRs fixes element-hq/element-web#5629 |
@turt2live : is there a way to enable this? under labs I only have 'Message Pinning'. |
@richvdh yes, but riot.im/develop has a configuration problem (still). The feature is |
Signed-off-by: Travis Ralston <travpc@gmail.com>
Disable presence controls if there's no presence
The feature is incredibly buggy and doesn't work as expected due to server behaviour and client interaction. One of the major problems is the constantly confused presence state - this is caused by the mobile apps conflicting on the state of the web app, causing it to consider the user offline or online (and rarely away) depending on how riot-android/ios is behaving at the time. This reverts two PRs: * matrix-org#1620 * matrix-org#1482 The changes to the context menu positioning were not reverted as they are useful outside of presence management. Signed-off-by: Travis Ralston <travpc@gmail.com>
The feature is incredibly buggy and doesn't work as expected due to server behaviour and client interaction. One of the major problems is the constantly confused presence state - this is caused by the mobile apps conflicting on the state of the web app, causing it to consider the user offline or online (and rarely away) depending on how riot-android/ios is behaving at the time. This reverts two PRs: * #1620 * #1482 The changes to the context menu positioning were not reverted as they are useful outside of presence management. Signed-off-by: Travis Ralston <travpc@gmail.com>
avoid assuming that
member
has auser