Changeset eb4ad8d for protocols/bee_chat.c
- Timestamp:
- 2015-01-17T20:13:19Z (9 years ago)
- Branches:
- master
- Children:
- e26aa72
- Parents:
- 1065dd4 (diff), 664bac3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee_chat.c
r1065dd4 reb4ad8d 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.