Gets the hash of the sender.

This commit is contained in:
Nicolás Ortega Froysa 2017-09-28 18:07:26 +02:00
parent 59d59549e1
commit 0278d786a9
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -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;