mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
user status: Fix stray "info" reference.
This fixes a section of code that hasn't really been turned on yet. We decided to rename "info" to "status_text", and I apparently missed this. We don't have any UI to set these yet, so it was a harmless bug. I'll try to get some better test coverage on this when I tweak the buddy list to show user status.
This commit is contained in:
parent
a64c434b9e
commit
45d07e8472
@ -466,7 +466,7 @@ exports.dispatch_normal_event = function dispatch_normal_event(event) {
|
||||
}
|
||||
}
|
||||
|
||||
if (event.info !== undefined) {
|
||||
if (event.status_text !== undefined) {
|
||||
user_status.set_status_text({
|
||||
user_id: event.user_id,
|
||||
status_text: event.info,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user