Reflect message IDs in channel MUCs

fix #3283
This commit is contained in:
louiz’
2018-03-18 19:33:07 +01:00
parent 68e1480075
commit 9500bfd4cc
9 changed files with 50 additions and 31 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <utils/uuid.hpp>
#include <uuid/uuid.h>
namespace utils
{
std::string gen_uuid()
{
char uuid_str[37];
uuid_t uuid;
uuid_generate(uuid);
uuid_unparse(uuid, uuid_str);
return uuid_str;
}
}