Commit 6692262
committed
addressbook: detect contact folder items via server flag
Contact folder items (from personal and shared folders) lack the
Contact Provider GUID in their entry ID, so the existing detection
in isPersonalContact() and isPersonalDistList() missed them. This
caused contacts and distribution lists from contact folders to be
unrecognizable and unopenable from the addressbook dialog.
Add an is_contact_item flag to the server response for all contact
folder items and check it in both detection methods as a fallback
when the entry ID has no Contact Provider GUID.1 parent 3b0576d commit 6692262
2 files changed
Lines changed: 22 additions & 4 deletions
File tree
- client/zarafa/addressbook
- server/includes/modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
208 | | - | |
209 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
210 | 219 | | |
211 | 220 | | |
212 | 221 | | |
| |||
222 | 231 | | |
223 | 232 | | |
224 | 233 | | |
225 | | - | |
226 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
227 | 244 | | |
228 | 245 | | |
229 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
0 commit comments