topisani/Discurses

Crash on Typing event

Closed this issue · 2 comments

shrx commented

Steps to reproduce:

  1. Go to a channel
  2. Start typing - a "user is typing" message is displayed
  3. Post typed string (press return) - crash happens

I couldn't select the error message to copy it, so here's a screenshot:

screenshot_2016-10-10_11-14-52

The typed string is still posted.

Crash only happens on some servers, not all.

It seems that this happens when no overrides (mutes and such) were configured on the server, it is just a matter of checking for the returned value of this data.get

Submitted PR #35