|
|
@@ -2,17 +2,11 @@ import Foundation |
|
|
|
|
|
|
|
public extension MeetupId { |
|
|
|
static func shouldEnableJoin(_ c: MeetupIdContext) -> Bool? { |
|
|
|
guard |
|
|
|
c.textUI.isRecent || |
|
|
|
c.join |
|
|
|
else { |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if onlyFormat(c.textUI.value) == "123"{ |
|
|
|
/**/print("ИГР MeetupI.shouldEJ-1") |
|
|
|
return true |
|
|
|
if |
|
|
|
c.textUI.isRecent, |
|
|
|
let sid = onlyFormat(c.textUI.value) |
|
|
|
{ |
|
|
|
return sid.count > 2 |
|
|
|
} |
|
|
|
|
|
|
|
if c.join { |
|
|
|