diff options
author | Richard van der Hoff <richard@matrix.org> | 2015-11-02 18:03:09 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2015-11-02 18:03:09 +0000 |
commit | 8efee869304ed95823767363df39a5617e38ce7c (patch) | |
tree | 03a802fd6a89e035632ec2e36817d33744c05bdf /matrix-roommembers.h | |
parent | e78ea22ac644ecb3bb08ca2059068825fc77324c (diff) | |
download | purple-matrix-8efee869304ed95823767363df39a5617e38ce7c.tar.gz |
Implement get_cb_real_name
Fixing this means purple is slightly less confused about who the users in our
chats are.
Diffstat (limited to 'matrix-roommembers.h')
-rw-r--r-- | matrix-roommembers.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/matrix-roommembers.h b/matrix-roommembers.h index e00cc70..2ae5538 100644 --- a/matrix-roommembers.h +++ b/matrix-roommembers.h @@ -107,4 +107,14 @@ void matrix_roommembers_get_renamed_members(MatrixRoomMemberTable *table, void matrix_roommembers_get_left_members(MatrixRoomMemberTable *table, GList **names); + +/** + * Get the userid of a member of a room, given their displayname + * + * @returns a string, which will be freed by the caller, or null if not known + */ +gchar *matrix_roommembers_displayname_to_userid( + MatrixRoomMemberTable *table, const gchar *who); + + #endif /* MATRIX_ROOMMEMBERS_H_ */ |