Skip to content

Commit f27dcd1

Browse files
committed
fix: fix discord wrappers for getting assets and timestamps
1 parent 4d035d4 commit f27dcd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/discord/core.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ discordpp::ActivityTimestamps DiscordActivityWrapper::get_timestamps() {
223223
return timestamps.value();
224224
}
225225

226-
return discordpp::ActivityTimestamps::nullobj;
226+
return discordpp::ActivityTimestamps();
227227
}
228228

229229

@@ -234,5 +234,5 @@ discordpp::ActivityTimestamps DiscordActivityWrapper::get_timestamps() {
234234
return assets.value();
235235
}
236236

237-
return discordpp::ActivityAssets::nullobj;
237+
return discordpp::ActivityAssets();
238238
}

0 commit comments

Comments
 (0)