mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 08:34:25 +03:00
chat-view: join chat after acquiring metadata
hark-chat-hook scries for the group in order to determine whether the chat should be automatically watched for notifications. Therefore, if we are joining a chat, we should acquire the metadata before joining the chat. This is to ensure that the scry works correctly. Fixes #3946
This commit is contained in:
parent
4a1cd48ef5
commit
7a1ff3ce2a
@ -488,8 +488,8 @@
|
||||
(en-path:resource rid)
|
||||
?> ?=(^ path)
|
||||
:~ (group-pull-hook-poke %add ship rid)
|
||||
(chat-hook-poke %add-synced ship t.path ask-history)
|
||||
(metadata-hook-poke %add-synced ship path)
|
||||
(chat-hook-poke %add-synced ship t.path ask-history)
|
||||
==
|
||||
::
|
||||
++ diff-chat-update
|
||||
|
Loading…
Reference in New Issue
Block a user