diff options
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -67,13 +67,14 @@ void event_emit(const struct event_item *event){ } } -void event_emit_message(i64 timestamp,const char *message,const char *user,const char *room){ +void event_emit_message(i64 timestamp,const char *message,const char *user,const char *room,i64 replyid){ struct event_item *event=event_item_alloc(); event->type=EVENT_MESSAGE; event->timestamp=timestamp; event->message=strdup(message); event->user=strdup(user); event->room=strdup(room); + event->replyid=replyid; event_emit(event); event_item_free(event); } |