Changeset 3231485
- Timestamp:
- 2011-10-01T14:57:48Z (13 years ago)
- Branches:
- master
- Children:
- e67e513
- Parents:
- fb11647a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
rfb11647a r3231485 614 614 char *msg = g_strdup(message); 615 615 irc_t *irc = ic->bee->ui_data; 616 irc_user_t *u = peeruser(irc, username, protocol); 616 617 617 618 strip_html(msg); 618 irc_usermsg(irc, "otr: %s", msg); 619 if(u) { 620 /* display message like it came from this particular user */ 621 bee_irc_msg_from_user(u, msg, 0 /* sent_at */); 622 } else { 623 irc_usermsg(irc, "otr: %s", msg); 624 } 619 625 620 626 g_free(msg); … … 1845 1851 } 1846 1852 } 1853 1854 /* vim: noet ts=4 sw=4 */
Note: See TracChangeset
for help on using the changeset viewer.