Commit a4f7649
committed
🥅 Validate and send STORE
Previously, `#store` and `#uid_store` wrapped `attr` with `RawData`.
But that's completely unnecessary. `+`, `-`, and `.` are atom chars,
and every STORE "message data item" defined in any RFC is an `atom`:
```
FLAGS FLAGS.SILENT
+FLAGS +FLAGS.SILENT
-FLAGS -FLAGS.SILENT
ANNOTATION ANNOTATION.SILENT
```
We can revisit this in the future, if some new extension uses a non-atom
for its STORE "message data item", but that seems unlikely.
Note also that `Atom` is only applied to `String` arguments.attr as an atom
1 parent 9db3e9d commit a4f7649
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3786 | 3786 | | |
3787 | 3787 | | |
3788 | 3788 | | |
3789 | | - | |
| 3789 | + | |
3790 | 3790 | | |
3791 | 3791 | | |
3792 | 3792 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments