]> git.donarmstrong.com Git - debbugs.git/commitdiff
Fix default user for usertags debian
authorPaul Wise <pabs@debian.org>
Fri, 12 Mar 2021 00:56:36 +0000 (08:56 +0800)
committerDon Armstrong <don@donarmstrong.com>
Wed, 1 Jan 2025 00:20:12 +0000 (16:20 -0800)
It needs to have the same processing as all user addresses,
otherwise it will include the name and spaces etc.

Fixes: commit f13b9b4b919d80e6e90acf905452f8788e2b8c40
scripts/process

index 0bb57591522d9390f79a85dedc80e61c347218ca..d98cafa8a59f80982907ca9b79986880f6b02db9 100755 (executable)
@@ -705,7 +705,8 @@ if ($ref<0) { # new bug report
     $data->{msgid} = $header{'message-id'};
     writebug($ref, $data);
     # Deal with usertags
-    my $current_user = $replyto;
+    my $current_user;
+    unshift @usertag_bits, ['user', $replyto];
     for my $field (@usertag_bits) {
         my ($name, $value) = @$field;
         if ($name eq 'user') {