diff mbox series

patchwork: Allow submitter names to be null

Message ID 20190510040203.29838-1-ruscur@russell.cc
State Accepted
Headers show
Series patchwork: Allow submitter names to be null | expand

Commit Message

Russell Currey May 10, 2019, 4:02 a.m. UTC
Incorrectly configured email clients will cause this, seen in the wild.

Signed-off-by: Russell Currey <ruscur@russell.cc>
---
Already applied, for information only

 src/patchwork.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/patchwork.rs b/src/patchwork.rs
index 8f01186..e560b66 100644
--- a/src/patchwork.rs
+++ b/src/patchwork.rs
@@ -45,7 +45,7 @@  pub static PATCHWORK_QUERY: &'static str = "?order=-id&count=500";
 pub struct SubmitterSummary {
     pub id: u64,
     pub url: String,
-    pub name: String,
+    pub name: Option<String>,
     pub email: String,
 }