File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
src/server/api/memobase_server/controllers/modal/roleplay Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,16 @@ async def process_messages(
4646 if not interest .ok ():
4747 return interest
4848 interest_data = interest .data ()
49- # if interest_data["action"] != "new_topic":
50- # await append_user_status(
51- # user_id,
52- # project_id,
53- # ContanstTable.roleplay_plot_status,
54- # {
55- # "interest": interest_data,
56- # },
57- # )
58- # return Promise.resolve(ProactiveTopicData(action="continue"))
49+ if interest_data ["action" ] != "new_topic" :
50+ await append_user_status (
51+ user_id ,
52+ project_id ,
53+ ContanstTable .roleplay_plot_status ,
54+ {
55+ "interest" : interest_data ,
56+ },
57+ )
58+ return Promise .resolve (ProactiveTopicData (action = "continue" ))
5959 latests_statuses = await get_user_statuses (
6060 user_id , project_id , type = ContanstTable .roleplay_plot_status
6161 )
You can’t perform that action at this time.
0 commit comments