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:
Steve Howell 2019-01-25 15:41:30 +00:00 committed by showell
parent a64c434b9e
commit 45d07e8472

View File

@ -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,