summaryrefslogtreecommitdiff
path: root/discord/snowflake.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-04-03 02:40:37 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-04-03 02:40:37 -0400
commit77b43f0f24540775228608d841379d349f2b1866 (patch)
treeea376943da8068a1772e546a58be864d1cc9db5f /discord/snowflake.hpp
parent88c91495c34ab75003807e563378fda5fe3f6e57 (diff)
downloadabaddon-portaudio-77b43f0f24540775228608d841379d349f2b1866.tar.gz
abaddon-portaudio-77b43f0f24540775228608d841379d349f2b1866.zip
show pending/failed messages
css changes: - added .failed - added .pending
Diffstat (limited to 'discord/snowflake.hpp')
-rw-r--r--discord/snowflake.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/snowflake.hpp b/discord/snowflake.hpp
index 2719f98..c6770a1 100644
--- a/discord/snowflake.hpp
+++ b/discord/snowflake.hpp
@@ -9,6 +9,8 @@ struct Snowflake {
Snowflake(const std::string &str);
Snowflake(const Glib::ustring &str);
+ static Snowflake FromNow(); // not thread safe
+
bool IsValid() const;
std::string GetLocalTimestamp() const;