Changeset 885d294
- Timestamp:
- 2015-01-16T19:50:24Z (10 years ago)
- Branches:
- master
- Children:
- 7549d00
- Parents:
- eabe6d4
- git-author:
- jgeboski <jgeboski@…> (16-01-15 19:50:24)
- git-committer:
- dequis <dx@…> (16-01-15 19:50:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee_chat.c
reabe6d4 r885d294 85 85 bee_t *bee = ic->bee; 86 86 bee_user_t *bu; 87 gboolean temp; 87 88 char *s; 88 89 … … 92 93 93 94 bu = bee_user_by_handle( bee, ic, who ); 95 temp = ( bu == NULL ); 96 97 if( temp ) 98 bu = bee_user_new( bee, ic, who, BEE_USER_ONLINE ); 94 99 95 100 s = set_getstr( &ic->bee->set, "strip_html" ); … … 98 103 strip_html( msg ); 99 104 100 if( b u && bee->ui->chat_msg )105 if( bee->ui->chat_msg ) 101 106 bee->ui->chat_msg( bee, c, bu, msg, sent_at ); 102 else 103 imcb_chat_log( c, "Message from unknown participant %s: %s", who, msg ); 107 108 if( temp ) 109 bee_user_free( bee, bu ); 104 110 } 105 111
Note: See TracChangeset
for help on using the changeset viewer.