matrix-hacks / matrix-puppet-slack

puppet style slack bridge for matrix
47 stars 17 forks source link

Do not fail if room.name is null #16

Closed fadenb closed 7 years ago

fadenb commented 7 years ago

Hey,

as discussed on Matrix ( https://matrix.to/#/!ChuQQIVJvwyJujhNIG:synapse.keyvan.pw/$148908051834345owlgv:utzutzutz.net ) I sometimes do not receive direct messages from slack in Matrix.

I traced it to room.name being null. This patch works around it by returning a string to avoid the error. This is not a proper fix but better then not knowing that someone tried to contact you.

fadenb commented 7 years ago

Seems like my tests were not thorough enough. This can still fail.