diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-21 15:04:35 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-21 15:04:35 +0200 |
commit | 17aba8d87a9492084f7c74dfecb4ec9d86fbfd2c (patch) | |
tree | fe90b521aa8cec1d8e366c0c191cc9ac53c54779 | |
parent | 4c081f368d0d7eefd2a46497088a5f235b06e110 (diff) |
tpl_contact_from_room_id: allow room with an empty name
-rw-r--r-- | telepathy-logger/contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-logger/contact.c b/telepathy-logger/contact.c index 779bb2a83..8d5c69d6f 100644 --- a/telepathy-logger/contact.c +++ b/telepathy-logger/contact.c @@ -202,7 +202,7 @@ tpl_contact_from_room_id (const gchar *chatroom_id) { TplContact *ret; - g_return_val_if_fail (!TPL_STR_EMPTY (chatroom_id), NULL); + g_return_val_if_fail (chatroom_id != NULL, NULL); ret = tpl_contact_new (chatroom_id); tpl_contact_set_alias (ret, chatroom_id); |