diff options
author | Álvaro Brey <alvaro.brey@nextcloud.com> | 2022-08-10 14:10:30 +0300 |
---|---|---|
committer | Álvaro Brey <alvaro.brey@nextcloud.com> | 2022-08-10 14:10:30 +0300 |
commit | cdc818b7206101e373136322dd3abd16591d716d (patch) | |
tree | 0510d6b6e7eedc3b0e902953137d0855847d95a1 /scripts | |
parent | 228952d85c3c604d16d75b095668a94df1da2d30 (diff) |
ChatController: fix crash when opening conversation from notification
This happens because there is no Conversation object available in the Controller when coming from a notification.
This patch means that when opening a notification for a poll, it will always look like the user is not the owner of the poll even if they are.
This is unfortunately difficult to fix as the initialization logic for ChatController is all kinds of messed up: ideally we'd always load the Conversation object before showing any kind of UI but that's too big of a change to do without tests.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions