Gets the hash of the sender.
This commit is contained in:
parent
59d59549e1
commit
0278d786a9
@ -90,7 +90,10 @@ struct message *NeoComm_get_next_message(const char *channel_name) {
|
|||||||
*msg = {
|
*msg = {
|
||||||
/*.msg =*/ new_msg->msg.c_str(),
|
/*.msg =*/ new_msg->msg.c_str(),
|
||||||
/*.sent =*/ new_msg->date,
|
/*.sent =*/ new_msg->date,
|
||||||
// TODO: add the rest of these
|
/*.from =*/ {
|
||||||
|
/*.nick =*/ "DEFAULT", // TODO: Implement this!!!
|
||||||
|
/*.hash =*/ new_msg->from.to_c_str()
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return msg;
|
return msg;
|
||||||
|
Loading…
Reference in New Issue
Block a user