diff options
Diffstat (limited to 'tipper/subst.cpp')
-rw-r--r-- | tipper/subst.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tipper/subst.cpp b/tipper/subst.cpp index 2980c5c..cd10998 100644 --- a/tipper/subst.cpp +++ b/tipper/subst.cpp @@ -204,6 +204,9 @@ bool GetSysSubstText(HANDLE hContact, TCHAR *raw_spec, TCHAR *buff, int bufflen) _tcsncpy(buff, pa->tszAccountName, bufflen);
return true;
}
+ } else if (!_tcscmp(raw_spec, _T("time"))) {
+ if (tmi.printDateTime && !tmi.printDateTimeByContact(hContact, _T("t"), buff, bufflen, TZF_KNOWNONLY))
+ return true;
} else if (!_tcscmp(raw_spec, _T("uidname"))) {
char *szProto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
return uid_name(szProto, buff, bufflen);
|