Compare commits

...
5 Commits
Author SHA1 Message Date
Vanessa 17e2dffdb2 AAAAAA 2026-06-25 11:42:43 -05:00
Vanessa 22e287ec45 AAA 2026-06-25 11:40:46 -05:00
Vanessa 9a0a4abf5d minus one newline 2026-06-25 11:39:43 -05:00
Vanessa 0b685a52b6 Fix pop up too 2026-06-25 11:38:42 -05:00
Vanessa 52d3b54d2c Fix admin fax notifications. 2026-06-21 08:53:15 -05:00
+9
View File
@@ -588,6 +588,15 @@ public sealed class FaxSystem : EntitySystem
return;
var faxName = Loc.GetString("fax-machine-popup-source-unknown");
// BEGIN DeltaV - Refresh Fax IDs before recieving
// This will seem odd that we're doing the same if statement twice BUT if its not in the known fax machine list, the
// sending fax might not have been online when the current fax machine was refreshed/init'd. So, if its already known,
// we don't need to refresh. But if its not known, let's attempt to refresh first, then check the fromAddress in the KnownFaxes.
if (fromAddress != null && !component.KnownFaxes.TryGetValue(fromAddress, out var _))
Refresh(uid, component);
// END DeltaV
if (fromAddress != null && component.KnownFaxes.TryGetValue(fromAddress, out var fax)) // If message received from unknown fax address
faxName = fax;