diff options
Diffstat (limited to 'Swift/QtUI/ChatSnippet.h')
-rw-r--r-- | Swift/QtUI/ChatSnippet.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Swift/QtUI/ChatSnippet.h b/Swift/QtUI/ChatSnippet.h index 5d94917..7c99928 100644 --- a/Swift/QtUI/ChatSnippet.h +++ b/Swift/QtUI/ChatSnippet.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2013 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -8,13 +8,14 @@ #include <boost/shared_ptr.hpp> -#include <QString> #include <QDateTime> +#include <QString> #include <Swiften/Base/foreach.h> + #include <Swift/Controllers/UIInterfaces/ChatWindow.h> -#include <Swift/QtUI/QtChatTheme.h> +#include <Swift/QtUI/QtChatTheme.h> namespace Swift { class ChatSnippet { @@ -44,6 +45,7 @@ namespace Swift { result.replace("%time%", "%%time%"); result.replace("%shortTime%", "%%shortTime%"); result.replace("%userIconPath%", "%userIconPath%"); + result.replace("%id%", "%id%"); result.replace("\t", " "); result.replace(" ", " "); return result; |