aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-17 19:38:49 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-17 19:38:49 +0200
commit812e460f2159556ad00ab838d58b349fa3542047 (patch)
treee123b30a6ffd3de2c72b422d3fa951f45276f3da /lib/room.cpp
parent4a5d51d7bc2b1b23a96c347b6127ec64d7c298b2 (diff)
downloadlibquotient-812e460f2159556ad00ab838d58b349fa3542047.tar.gz
libquotient-812e460f2159556ad00ab838d58b349fa3542047.zip
Fetch user profile when needed
5849686e introduced a new way of storing user avatars and names - unfortunately it didn't fully cover the case of the user's default (profile) name and avatar. This commit fixes it; in 0.6.x branch, the fix requires a const_cast<> hack since name() and avatarObject() invocations are used as triggers to fetch the profile. 0.7 will have User::fetchProfile() method instead.
Diffstat (limited to 'lib/room.cpp')
0 files changed, 0 insertions, 0 deletions