From e64ace4c8279084a7d168ee1f9e50156b93fa2c7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 3 Feb 2023 09:26:31 +0000 Subject: Expose the removed away message in OnUserBack. --- include/modules/away.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/away.h b/include/modules/away.h index c6f3b94d1..e3323a707 100644 --- a/include/modules/away.h +++ b/include/modules/away.h @@ -65,8 +65,9 @@ public: /** Called when a user has returned from being away. * @param user The user who has returned from being away. + * @param message The away message that the user set. */ - virtual void OnUserBack(User* user) = 0; + virtual void OnUserBack(User* user, const std::string& message) = 0; }; class Away::EventProvider final -- cgit v1.3.1-10-gc9f91