Closed twouters closed 6 years ago
Could be related to https://github.com/matrix-hacks/matrix-puppet-skype/issues/11
I'll test this in the Slack bridge soon; it has the problem.
Would you also check out the https://github.com/matrix-hacks/matrix-puppet-bridge/tree/develop branch and, if the same solution applies, create a PR to address it?
Dogfooding this as of now.
This works around a race in
getIntentFromThirdPartySenderId()
when thesetGhostAvatar()
promise is called beforeghostIntent.setDisplayName()
is resolved.The
ghostIntent.getProfileInfo()
method ensures that the matrix user exists before returning the profile.This fixes sporadic
[M_UNKNOWN: No row found]
errors on messages from a new user.Fixes: 9846965 ("skip avatar routines unless ghost has no avatar")