Refresh the dm timeline

master
Bob Mottram 2019-08-25 19:27:19 +01:00
parent e61a8d1e7f
commit e00576f382
1 changed files with 2 additions and 2 deletions

View File

@ -1414,8 +1414,8 @@ def htmlTimeline(pageNumber: int,itemsPerPage: int,session,baseDir: str, \
moderationButtonStr='<a href="'+actor+'/moderation"><button class="'+moderationButton+'"><span>Mod </span></button></a>'
tlStr=htmlHeader(profileStyle)
if boxName=='inbox' and pageNumber==1:
# refresh if on the first page of the inbox
if (boxName=='inbox' or boxName=='dm') and pageNumber==1:
# refresh if on the first page of the inbox and dm timeline
tlStr=htmlHeader(profileStyle,240)
# banner and row of buttons