You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugfix: model: Improve handling of _have_last_message.
This dict tracks whether the app has the last message in a narrow; this
commit fixes the following issues:
* There are too many narrows to pre-populate the dict, so ensure we use
`.get` when checking it upon receiving a message event.
* The value for a narrow was set on each get_message call, but the value
from a call is whether the returned messages contain the last message,
so use both the previous state (if any) as well as the new state.
0 commit comments