diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-07-15 15:33:43 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-07-17 16:26:22 +0300 |
commit | b7e2e390a79910735898552932e4a7272c7f4a26 (patch) | |
tree | 109e046a193bd6ec641c7e190ad07766f69454b8 /lib/Model | |
parent | e9a5690ac1c6f251027acdac92254547e2080ec1 (diff) |
Clean up mix up of ID, UID and UUID
* ID is supposed to be the database ID
* UID is the IMAP UID
* UUID is the globally unique identifier used in the front-end
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Model')
-rw-r--r-- | lib/Model/IMAPMessage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Model/IMAPMessage.php b/lib/Model/IMAPMessage.php index 6d73bcbae..1dae7a1d0 100644 --- a/lib/Model/IMAPMessage.php +++ b/lib/Model/IMAPMessage.php @@ -448,7 +448,7 @@ class IMAPMessage implements IMessage, JsonSerializable { */ public function jsonSerialize(): array { return [ - 'id' => $this->getUid(), + 'uid' => $this->getUid(), 'messageId' => $this->getMessageId(), 'from' => $this->getFrom()->jsonSerialize(), 'to' => $this->getTo()->jsonSerialize(), |