File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ def process_scheduled_activity(
123
123
name_with_flags = prefix + middle + suffix
124
124
name_with_flags_for_user = prefix + (middle if restricted_for_user else "" ) + suffix
125
125
126
+ is_activity_sticky = scheduled_activity .is_activity_sticky ()
127
+
126
128
activity_info = {
127
129
"id" : activity .id ,
128
130
"aid" : activity .aid ,
@@ -154,8 +156,8 @@ def process_scheduled_activity(
154
156
"administrative" : scheduled_activity .get_administrative (),
155
157
"presign" : activity .presign ,
156
158
"presign_time" : scheduled_activity .is_too_early_to_signup ()[1 ].strftime ("%A, %B %-d at %-I:%M %p" ),
157
- "sticky" : scheduled_activity . is_activity_sticky () ,
158
- "user_sticky" : scheduled_activity .is_user_stickied (user ),
159
+ "sticky" : is_activity_sticky ,
160
+ "user_sticky" : scheduled_activity .is_user_stickied (user ) and not is_activity_sticky ,
159
161
"finance" : "" , # TODO: refactor JS to remove this
160
162
"title" : scheduled_activity .title ,
161
163
"comments" : scheduled_activity .comments , # TODO: refactor JS to remove this
You can’t perform that action at this time.
0 commit comments