[snowpatch] [PATCH] patchwork: Allow submitter names to be null

Russell Currey ruscur at russell.cc
Fri May 10 14:02:04 AEST 2019


Incorrectly configured email clients will cause this, seen in the wild.

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

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

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,
 }
 
-- 
2.21.0



More information about the snowpatch mailing list