forked from blue/squawk
encrypted messages now are displayed in the feed
This commit is contained in:
parent
637eb702a8
commit
0a530bfa93
34 changed files with 439 additions and 245 deletions
|
@ -37,7 +37,8 @@ Shared::Message::Message(Shared::Message::Type p_type):
|
|||
originalMessage(),
|
||||
lastModified(),
|
||||
stanzaId(),
|
||||
attachPath()
|
||||
attachPath(),
|
||||
encryption(EncryptionProtocol::none)
|
||||
{}
|
||||
|
||||
Shared::Message::Message():
|
||||
|
@ -58,7 +59,8 @@ Shared::Message::Message():
|
|||
originalMessage(),
|
||||
lastModified(),
|
||||
stanzaId(),
|
||||
attachPath()
|
||||
attachPath(),
|
||||
encryption(EncryptionProtocol::none)
|
||||
{}
|
||||
|
||||
QString Shared::Message::getBody() const {
|
||||
|
@ -234,9 +236,8 @@ void Shared::Message::setType(Shared::Message::Type t) {
|
|||
void Shared::Message::setState(Shared::Message::State p_state) {
|
||||
state = p_state;
|
||||
|
||||
if (state != State::error) {
|
||||
if (state != State::error)
|
||||
errorText = "";
|
||||
}
|
||||
}
|
||||
|
||||
bool Shared::Message::serverStored() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue