mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 02:22:40 +08:00
FEATURE: auto remove user status after predefined period (#17236)
This commit is contained in:

committed by
GitHub

parent
4acf2394e6
commit
c59f1729a6
@ -8,7 +8,7 @@ class UserStatusController < ApplicationController
|
||||
description = params.require(:description)
|
||||
emoji = params.require(:emoji)
|
||||
|
||||
current_user.set_status!(description, emoji)
|
||||
current_user.set_status!(description, emoji, params[:ends_at])
|
||||
render json: success_json
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user