summaryrefslogtreecommitdiff
path: root/telepathy-logger/entity.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-01-13 15:29:32 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-01-17 15:01:02 -0500
commit2036f29eeb05e9c4ea872f8716446f27c911834b (patch)
treeb4f808fd8ae012dde295e87c30c83c3bc9c4ccab /telepathy-logger/entity.c
parent447779b1d5f902acbcb5ecf70824ebbd273c44b4 (diff)
downloadtelepathy-logger-2036f29eeb05e9c4ea872f8716446f27c911834b.tar.gz
Use ROOM instead of GROUP to match Telepathy API
Diffstat (limited to 'telepathy-logger/entity.c')
-rw-r--r--telepathy-logger/entity.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-logger/entity.c b/telepathy-logger/entity.c
index b130665..10d731b 100644
--- a/telepathy-logger/entity.c
+++ b/telepathy-logger/entity.c
@@ -190,7 +190,7 @@ tpl_entity_init (TplEntity *self)
* @chatroom_id: the chatroom id which will be the identifier for the entity
*
* Return a TplEntity instance with identifier, alias copied from
- * @chatroom_id. It also sets %TPL_ENTITY_GROUP as type for
+ * @chatroom_id. It also sets %TPL_ENTITY_ROOM as type for
* the #TplEntity returned.
*/
TplEntity *
@@ -202,7 +202,7 @@ _tpl_entity_from_room_id (const gchar *chatroom_id)
ret = _tpl_entity_new (chatroom_id);
_tpl_entity_set_alias (ret, chatroom_id);
- _tpl_entity_set_entity_type (ret, TPL_ENTITY_GROUP);
+ _tpl_entity_set_entity_type (ret, TPL_ENTITY_ROOM);
DEBUG ("Chatroom id: %s", chatroom_id);
return ret;
@@ -341,7 +341,7 @@ _tpl_entity_set_identifier (TplEntity *self,
*
* Set a entity type for @self.
*
- * Note: %TPL_ENTITY_CONTACT and %TPL_ENTITY_GROUP are automatically set after
+ * Note: %TPL_ENTITY_CONTACT and %TPL_ENTITY_ROOM are automatically set after
* _tpl_entity_from_tp_contact() and #tpl_entity_from_chatroom_id(),
* respectively. Though, the client will need to set %TPL_ENTITY_SELF after
* those function calls when @self represents the owner of the account.