mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
IMAP: Limit UIDs to only 4 bytes for Outlook compatiblity
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@432 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
4193ae3fa5
commit
8bb3ba9ed1
@ -972,7 +972,7 @@ public class ExchangeSession {
|
||||
byte[] decodedValue = Base64.decode(uid.getBytes());
|
||||
|
||||
long result = 0;
|
||||
for (int i = 3; i < 9; i++) {
|
||||
for (int i = 5; i < 9; i++) {
|
||||
result = result << 8;
|
||||
result |= decodedValue[i] & 0xff;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user