mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-22 05:36:16 +00:00
dont mark sent as unread, even if it is
This commit is contained in:
parent
0689fcdf7c
commit
3284ad6f20
|
@ -22,9 +22,9 @@
|
|||
{{ template "post.html" $activity.Post }}
|
||||
{{ else if $activity.Message }}
|
||||
<div class="message">
|
||||
<span class="meta{{ if not $activity.Message.PrivateMessage.Read }} orangered{{end}}">
|
||||
<b>message</b>
|
||||
{{ if eq $activity.Message.Creator.ID $state.Session.UserID }}
|
||||
<span class="meta">
|
||||
<b>message</b>
|
||||
to
|
||||
<a href="/{{$state.Host}}/u/{{fullname $activity.Message.Recipient}}">
|
||||
{{- if $state.HideInstanceNames -}}
|
||||
|
@ -34,6 +34,8 @@
|
|||
{{- end -}}
|
||||
</a>
|
||||
{{ else }}
|
||||
<span class="meta{{ if not $activity.Message.PrivateMessage.Read }} orangered{{end}}">
|
||||
<b>message</b>
|
||||
from
|
||||
<a href="/{{$state.Host}}/u/{{fullname $activity.Message.Creator}}">
|
||||
{{- if $state.HideInstanceNames -}}
|
||||
|
|
Loading…
Reference in a new issue